use ::libc;
extern "C" {
    pub type options;
    pub type cmds;
    pub type options_array_item;
    pub type options_entry;
    fn __ctype_b_loc() -> *mut *const libc::c_ushort;
    fn free(_: *mut libc::c_void);
    fn strcmp(_: *const libc::c_char, _: *const libc::c_char) -> libc::c_int;
    fn strncmp(_: *const libc::c_char, _: *const libc::c_char, _: libc::c_ulong) -> libc::c_int;
    fn strlen(_: *const libc::c_char) -> libc::c_ulong;
    fn strcasecmp(_: *const libc::c_char, _: *const libc::c_char) -> libc::c_int;
    fn strncasecmp(_: *const libc::c_char, _: *const libc::c_char, _: libc::c_ulong)
        -> libc::c_int;
    fn round(_: libc::c_double) -> libc::c_double;
    fn sscanf(_: *const libc::c_char, _: *const libc::c_char, _: ...) -> libc::c_int;
    fn strtonum(
        _: *const libc::c_char,
        _: libc::c_longlong,
        _: libc::c_longlong,
        _: *mut *const libc::c_char,
    ) -> libc::c_longlong;
    fn xcalloc(_: size_t, _: size_t) -> *mut libc::c_void;
    fn xstrndup(_: *const libc::c_char, _: size_t) -> *mut libc::c_char;
    fn xsnprintf(_: *mut libc::c_char, _: size_t, _: *const libc::c_char, _: ...) -> libc::c_int;
    fn options_get(_: *mut options, _: *const libc::c_char) -> *mut options_entry;
    fn options_array_first(_: *mut options_entry) -> *mut options_array_item;
    fn options_array_next(_: *mut options_array_item) -> *mut options_array_item;
    fn options_array_item_index(_: *mut options_array_item) -> u_int;
    fn options_array_item_value(_: *mut options_array_item) -> *mut options_value;
    fn log_debug(_: *const libc::c_char, _: ...);
}
pub type __u_char = libc::c_uchar;
pub type __u_short = libc::c_ushort;
pub type __u_int = libc::c_uint;
pub type u_char = __u_char;
pub type u_short = __u_short;
pub type u_int = __u_int;
pub type size_t = libc::c_ulong;
pub type C2RustUnnamed = libc::c_uint;
pub const _ISalnum: C2RustUnnamed = 8;
pub const _ISpunct: C2RustUnnamed = 4;
pub const _IScntrl: C2RustUnnamed = 2;
pub const _ISblank: C2RustUnnamed = 1;
pub const _ISgraph: C2RustUnnamed = 32768;
pub const _ISprint: C2RustUnnamed = 16384;
pub const _ISspace: C2RustUnnamed = 8192;
pub const _ISxdigit: C2RustUnnamed = 4096;
pub const _ISdigit: C2RustUnnamed = 2048;
pub const _ISalpha: C2RustUnnamed = 1024;
pub const _ISlower: C2RustUnnamed = 512;
pub const _ISupper: C2RustUnnamed = 256;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct grid_cell {
    pub data: utf8_data,
    pub attr: u_short,
    pub flags: u_char,
    pub fg: libc::c_int,
    pub bg: libc::c_int,
    pub us: libc::c_int,
    pub link: u_int,
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct utf8_data {
    pub data: [u_char; 21],
    pub have: u_char,
    pub size: u_char,
    pub width: u_char,
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct style {
    pub gc: grid_cell,
    pub ignore: libc::c_int,
    pub fill: libc::c_int,
    pub align: style_align,
    pub list: style_list,
    pub range_type: style_range_type,
    pub range_argument: u_int,
    pub range_string: [libc::c_char; 16],
    pub width: libc::c_int,
    pub pad: libc::c_int,
    pub default_type: style_default_type,
}
pub type style_default_type = libc::c_uint;
pub const STYLE_DEFAULT_POP: style_default_type = 2;
pub const STYLE_DEFAULT_PUSH: style_default_type = 1;
pub const STYLE_DEFAULT_BASE: style_default_type = 0;
pub type style_range_type = libc::c_uint;
pub const STYLE_RANGE_USER: style_range_type = 6;
pub const STYLE_RANGE_SESSION: style_range_type = 5;
pub const STYLE_RANGE_WINDOW: style_range_type = 4;
pub const STYLE_RANGE_PANE: style_range_type = 3;
pub const STYLE_RANGE_RIGHT: style_range_type = 2;
pub const STYLE_RANGE_LEFT: style_range_type = 1;
pub const STYLE_RANGE_NONE: style_range_type = 0;
pub type style_list = libc::c_uint;
pub const STYLE_LIST_RIGHT_MARKER: style_list = 4;
pub const STYLE_LIST_LEFT_MARKER: style_list = 3;
pub const STYLE_LIST_FOCUS: style_list = 2;
pub const STYLE_LIST_ON: style_list = 1;
pub const STYLE_LIST_OFF: style_list = 0;
pub type style_align = libc::c_uint;
pub const STYLE_ALIGN_ABSOLUTE_CENTRE: style_align = 4;
pub const STYLE_ALIGN_RIGHT: style_align = 3;
pub const STYLE_ALIGN_CENTRE: style_align = 2;
pub const STYLE_ALIGN_LEFT: style_align = 1;
pub const STYLE_ALIGN_DEFAULT: style_align = 0;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct colour_palette {
    pub fg: libc::c_int,
    pub bg: libc::c_int,
    pub palette: *mut libc::c_int,
    pub default_palette: *mut libc::c_int,
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct cmd_list {
    pub references: libc::c_int,
    pub group: u_int,
    pub list: *mut cmds,
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct options_array {
    pub rbh_root: *mut options_array_item,
}
#[derive(Copy, Clone)]
#[repr(C)]
pub union options_value {
    pub string: *mut libc::c_char,
    pub number: libc::c_longlong,
    pub style: style,
    pub array: options_array,
    pub cmdlist: *mut cmd_list,
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct C2RustUnnamed_0 {
    pub name: *const libc::c_char,
    pub c: libc::c_int,
}
unsafe extern "C" fn colour_dist_sq(
    mut R: libc::c_int,
    mut G: libc::c_int,
    mut B: libc::c_int,
    mut r: libc::c_int,
    mut g: libc::c_int,
    mut b: libc::c_int,
) -> libc::c_int {
    return (R - r) * (R - r) + (G - g) * (G - g) + (B - b) * (B - b);
}
unsafe extern "C" fn colour_to_6cube(mut v: libc::c_int) -> libc::c_int {
    if v < 48 as libc::c_int {
        return 0 as libc::c_int;
    }
    if v < 114 as libc::c_int {
        return 1 as libc::c_int;
    }
    return (v - 35 as libc::c_int) / 40 as libc::c_int;
}
#[no_mangle]
pub unsafe extern "C" fn colour_find_rgb(
    mut r: u_char,
    mut g: u_char,
    mut b: u_char,
) -> libc::c_int {
    static mut q2c: [libc::c_int; 6] = [
        0 as libc::c_int,
        0x5f as libc::c_int,
        0x87 as libc::c_int,
        0xaf as libc::c_int,
        0xd7 as libc::c_int,
        0xff as libc::c_int,
    ];
    let mut qr: libc::c_int = 0;
    let mut qg: libc::c_int = 0;
    let mut qb: libc::c_int = 0;
    let mut cr: libc::c_int = 0;
    let mut cg: libc::c_int = 0;
    let mut cb: libc::c_int = 0;
    let mut d: libc::c_int = 0;
    let mut idx: libc::c_int = 0;
    let mut grey_avg: libc::c_int = 0;
    let mut grey_idx: libc::c_int = 0;
    let mut grey: libc::c_int = 0;
    qr = colour_to_6cube(r as libc::c_int);
    cr = q2c[qr as usize];
    qg = colour_to_6cube(g as libc::c_int);
    cg = q2c[qg as usize];
    qb = colour_to_6cube(b as libc::c_int);
    cb = q2c[qb as usize];
    if cr == r as libc::c_int && cg == g as libc::c_int && cb == b as libc::c_int {
        return 16 as libc::c_int + 36 as libc::c_int * qr + 6 as libc::c_int * qg + qb
            | 0x1000000 as libc::c_int;
    }
    grey_avg = (r as libc::c_int + g as libc::c_int + b as libc::c_int) / 3 as libc::c_int;
    if grey_avg > 238 as libc::c_int {
        grey_idx = 23 as libc::c_int;
    } else {
        grey_idx = (grey_avg - 3 as libc::c_int) / 10 as libc::c_int;
    }
    grey = 8 as libc::c_int + 10 as libc::c_int * grey_idx;
    d = colour_dist_sq(
        cr,
        cg,
        cb,
        r as libc::c_int,
        g as libc::c_int,
        b as libc::c_int,
    );
    if colour_dist_sq(
        grey,
        grey,
        grey,
        r as libc::c_int,
        g as libc::c_int,
        b as libc::c_int,
    ) < d
    {
        idx = 232 as libc::c_int + grey_idx;
    } else {
        idx = 16 as libc::c_int + 36 as libc::c_int * qr + 6 as libc::c_int * qg + qb;
    }
    return idx | 0x1000000 as libc::c_int;
}
#[no_mangle]
pub unsafe extern "C" fn colour_join_rgb(
    mut r: u_char,
    mut g: u_char,
    mut b: u_char,
) -> libc::c_int {
    return (r as libc::c_int & 0xff as libc::c_int) << 16 as libc::c_int
        | (g as libc::c_int & 0xff as libc::c_int) << 8 as libc::c_int
        | b as libc::c_int & 0xff as libc::c_int
        | 0x2000000 as libc::c_int;
}
#[no_mangle]
pub unsafe extern "C" fn colour_split_rgb(
    mut c: libc::c_int,
    mut r: *mut u_char,
    mut g: *mut u_char,
    mut b: *mut u_char,
) {
    *r = (c >> 16 as libc::c_int & 0xff as libc::c_int) as u_char;
    *g = (c >> 8 as libc::c_int & 0xff as libc::c_int) as u_char;
    *b = (c & 0xff as libc::c_int) as u_char;
}
#[no_mangle]
pub unsafe extern "C" fn colour_force_rgb(mut c: libc::c_int) -> libc::c_int {
    if c & 0x2000000 as libc::c_int != 0 {
        return c;
    }
    if c & 0x1000000 as libc::c_int != 0 {
        return colour_256toRGB(c);
    }
    if c >= 0 as libc::c_int && c <= 7 as libc::c_int {
        return colour_256toRGB(c);
    }
    if c >= 90 as libc::c_int && c <= 97 as libc::c_int {
        return colour_256toRGB(8 as libc::c_int + c - 90 as libc::c_int);
    }
    return -(1 as libc::c_int);
}
#[no_mangle]
pub unsafe extern "C" fn colour_tostring(mut c: libc::c_int) -> *const libc::c_char {
    static mut s: [libc::c_char; 32] = [0; 32];
    let mut r: u_char = 0;
    let mut g: u_char = 0;
    let mut b: u_char = 0;
    if c == -(1 as libc::c_int) {
        return b"none\0" as *const u8 as *const libc::c_char;
    }
    if c & 0x2000000 as libc::c_int != 0 {
        colour_split_rgb(c, &mut r, &mut g, &mut b);
        xsnprintf(
            s.as_mut_ptr(),
            ::core::mem::size_of::<[libc::c_char; 32]>() as libc::c_ulong,
            b"#%02x%02x%02x\0" as *const u8 as *const libc::c_char,
            r as libc::c_int,
            g as libc::c_int,
            b as libc::c_int,
        );
        return s.as_mut_ptr();
    }
    if c & 0x1000000 as libc::c_int != 0 {
        xsnprintf(
            s.as_mut_ptr(),
            ::core::mem::size_of::<[libc::c_char; 32]>() as libc::c_ulong,
            b"colour%u\0" as *const u8 as *const libc::c_char,
            c & 0xff as libc::c_int,
        );
        return s.as_mut_ptr();
    }
    match c {
        0 => return b"black\0" as *const u8 as *const libc::c_char,
        1 => return b"red\0" as *const u8 as *const libc::c_char,
        2 => return b"green\0" as *const u8 as *const libc::c_char,
        3 => return b"yellow\0" as *const u8 as *const libc::c_char,
        4 => return b"blue\0" as *const u8 as *const libc::c_char,
        5 => return b"magenta\0" as *const u8 as *const libc::c_char,
        6 => return b"cyan\0" as *const u8 as *const libc::c_char,
        7 => return b"white\0" as *const u8 as *const libc::c_char,
        8 => return b"default\0" as *const u8 as *const libc::c_char,
        9 => return b"terminal\0" as *const u8 as *const libc::c_char,
        90 => return b"brightblack\0" as *const u8 as *const libc::c_char,
        91 => return b"brightred\0" as *const u8 as *const libc::c_char,
        92 => return b"brightgreen\0" as *const u8 as *const libc::c_char,
        93 => return b"brightyellow\0" as *const u8 as *const libc::c_char,
        94 => return b"brightblue\0" as *const u8 as *const libc::c_char,
        95 => return b"brightmagenta\0" as *const u8 as *const libc::c_char,
        96 => return b"brightcyan\0" as *const u8 as *const libc::c_char,
        97 => return b"brightwhite\0" as *const u8 as *const libc::c_char,
        _ => {}
    }
    return b"invalid\0" as *const u8 as *const libc::c_char;
}
#[no_mangle]
pub unsafe extern "C" fn colour_fromstring(mut s: *const libc::c_char) -> libc::c_int {
    let mut errstr: *const libc::c_char = std::ptr::null::<libc::c_char>();
    let mut cp: *const libc::c_char = std::ptr::null::<libc::c_char>();
    let mut n: libc::c_int = 0;
    let mut r: u_char = 0;
    let mut g: u_char = 0;
    let mut b: u_char = 0;
    if *s as libc::c_int == '#' as i32 && strlen(s) == 7 as libc::c_int as libc::c_ulong {
        cp = s.offset(1 as libc::c_int as isize);
        while *(*__ctype_b_loc()).offset(*cp as u_char as libc::c_int as isize) as libc::c_int
            & _ISxdigit as libc::c_int as libc::c_ushort as libc::c_int
            != 0
        {
            cp = cp.offset(1);
        }
        if *cp as libc::c_int != '\0' as i32 {
            return -(1 as libc::c_int);
        }
        n = sscanf(
            s.offset(1 as libc::c_int as isize),
            b"%2hhx%2hhx%2hhx\0" as *const u8 as *const libc::c_char,
            &mut r as *mut u_char,
            &mut g as *mut u_char,
            &mut b as *mut u_char,
        );
        if n != 3 as libc::c_int {
            return -(1 as libc::c_int);
        }
        return colour_join_rgb(r, g, b);
    }
    if strncasecmp(
        s,
        b"colour\0" as *const u8 as *const libc::c_char,
        (::core::mem::size_of::<[libc::c_char; 7]>() as libc::c_ulong)
            .wrapping_sub(1 as libc::c_int as libc::c_ulong),
    ) == 0 as libc::c_int
    {
        n = strtonum(
            s.offset(::core::mem::size_of::<[libc::c_char; 7]>() as libc::c_ulong as isize)
                .offset(-(1 as libc::c_int as isize)),
            0 as libc::c_int as libc::c_longlong,
            255 as libc::c_int as libc::c_longlong,
            &mut errstr,
        ) as libc::c_int;
        if !errstr.is_null() {
            return -(1 as libc::c_int);
        }
        return n | 0x1000000 as libc::c_int;
    }
    if strncasecmp(
        s,
        b"color\0" as *const u8 as *const libc::c_char,
        (::core::mem::size_of::<[libc::c_char; 6]>() as libc::c_ulong)
            .wrapping_sub(1 as libc::c_int as libc::c_ulong),
    ) == 0 as libc::c_int
    {
        n = strtonum(
            s.offset(::core::mem::size_of::<[libc::c_char; 6]>() as libc::c_ulong as isize)
                .offset(-(1 as libc::c_int as isize)),
            0 as libc::c_int as libc::c_longlong,
            255 as libc::c_int as libc::c_longlong,
            &mut errstr,
        ) as libc::c_int;
        if !errstr.is_null() {
            return -(1 as libc::c_int);
        }
        return n | 0x1000000 as libc::c_int;
    }
    if strcasecmp(s, b"default\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int {
        return 8 as libc::c_int;
    }
    if strcasecmp(s, b"terminal\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int {
        return 9 as libc::c_int;
    }
    if strcasecmp(s, b"black\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"0\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 0 as libc::c_int;
    }
    if strcasecmp(s, b"red\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"1\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 1 as libc::c_int;
    }
    if strcasecmp(s, b"green\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"2\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 2 as libc::c_int;
    }
    if strcasecmp(s, b"yellow\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"3\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 3 as libc::c_int;
    }
    if strcasecmp(s, b"blue\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"4\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 4 as libc::c_int;
    }
    if strcasecmp(s, b"magenta\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"5\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 5 as libc::c_int;
    }
    if strcasecmp(s, b"cyan\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"6\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 6 as libc::c_int;
    }
    if strcasecmp(s, b"white\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"7\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 7 as libc::c_int;
    }
    if strcasecmp(s, b"brightblack\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"90\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 90 as libc::c_int;
    }
    if strcasecmp(s, b"brightred\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"91\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 91 as libc::c_int;
    }
    if strcasecmp(s, b"brightgreen\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"92\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 92 as libc::c_int;
    }
    if strcasecmp(s, b"brightyellow\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"93\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 93 as libc::c_int;
    }
    if strcasecmp(s, b"brightblue\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"94\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 94 as libc::c_int;
    }
    if strcasecmp(s, b"brightmagenta\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"95\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 95 as libc::c_int;
    }
    if strcasecmp(s, b"brightcyan\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"96\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 96 as libc::c_int;
    }
    if strcasecmp(s, b"brightwhite\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
        || strcmp(s, b"97\0" as *const u8 as *const libc::c_char) == 0 as libc::c_int
    {
        return 97 as libc::c_int;
    }
    return colour_byname(s);
}
#[no_mangle]
pub unsafe extern "C" fn colour_256toRGB(mut c: libc::c_int) -> libc::c_int {
    static mut table: [libc::c_int; 256] = [
        0 as libc::c_int,
        0x800000 as libc::c_int,
        0x8000 as libc::c_int,
        0x808000 as libc::c_int,
        0x80 as libc::c_int,
        0x800080 as libc::c_int,
        0x8080 as libc::c_int,
        0xc0c0c0 as libc::c_int,
        0x808080 as libc::c_int,
        0xff0000 as libc::c_int,
        0xff00 as libc::c_int,
        0xffff00 as libc::c_int,
        0xff as libc::c_int,
        0xff00ff as libc::c_int,
        0xffff as libc::c_int,
        0xffffff as libc::c_int,
        0 as libc::c_int,
        0x5f as libc::c_int,
        0x87 as libc::c_int,
        0xaf as libc::c_int,
        0xd7 as libc::c_int,
        0xff as libc::c_int,
        0x5f00 as libc::c_int,
        0x5f5f as libc::c_int,
        0x5f87 as libc::c_int,
        0x5faf as libc::c_int,
        0x5fd7 as libc::c_int,
        0x5fff as libc::c_int,
        0x8700 as libc::c_int,
        0x875f as libc::c_int,
        0x8787 as libc::c_int,
        0x87af as libc::c_int,
        0x87d7 as libc::c_int,
        0x87ff as libc::c_int,
        0xaf00 as libc::c_int,
        0xaf5f as libc::c_int,
        0xaf87 as libc::c_int,
        0xafaf as libc::c_int,
        0xafd7 as libc::c_int,
        0xafff as libc::c_int,
        0xd700 as libc::c_int,
        0xd75f as libc::c_int,
        0xd787 as libc::c_int,
        0xd7af as libc::c_int,
        0xd7d7 as libc::c_int,
        0xd7ff as libc::c_int,
        0xff00 as libc::c_int,
        0xff5f as libc::c_int,
        0xff87 as libc::c_int,
        0xffaf as libc::c_int,
        0xffd7 as libc::c_int,
        0xffff as libc::c_int,
        0x5f0000 as libc::c_int,
        0x5f005f as libc::c_int,
        0x5f0087 as libc::c_int,
        0x5f00af as libc::c_int,
        0x5f00d7 as libc::c_int,
        0x5f00ff as libc::c_int,
        0x5f5f00 as libc::c_int,
        0x5f5f5f as libc::c_int,
        0x5f5f87 as libc::c_int,
        0x5f5faf as libc::c_int,
        0x5f5fd7 as libc::c_int,
        0x5f5fff as libc::c_int,
        0x5f8700 as libc::c_int,
        0x5f875f as libc::c_int,
        0x5f8787 as libc::c_int,
        0x5f87af as libc::c_int,
        0x5f87d7 as libc::c_int,
        0x5f87ff as libc::c_int,
        0x5faf00 as libc::c_int,
        0x5faf5f as libc::c_int,
        0x5faf87 as libc::c_int,
        0x5fafaf as libc::c_int,
        0x5fafd7 as libc::c_int,
        0x5fafff as libc::c_int,
        0x5fd700 as libc::c_int,
        0x5fd75f as libc::c_int,
        0x5fd787 as libc::c_int,
        0x5fd7af as libc::c_int,
        0x5fd7d7 as libc::c_int,
        0x5fd7ff as libc::c_int,
        0x5fff00 as libc::c_int,
        0x5fff5f as libc::c_int,
        0x5fff87 as libc::c_int,
        0x5fffaf as libc::c_int,
        0x5fffd7 as libc::c_int,
        0x5fffff as libc::c_int,
        0x870000 as libc::c_int,
        0x87005f as libc::c_int,
        0x870087 as libc::c_int,
        0x8700af as libc::c_int,
        0x8700d7 as libc::c_int,
        0x8700ff as libc::c_int,
        0x875f00 as libc::c_int,
        0x875f5f as libc::c_int,
        0x875f87 as libc::c_int,
        0x875faf as libc::c_int,
        0x875fd7 as libc::c_int,
        0x875fff as libc::c_int,
        0x878700 as libc::c_int,
        0x87875f as libc::c_int,
        0x878787 as libc::c_int,
        0x8787af as libc::c_int,
        0x8787d7 as libc::c_int,
        0x8787ff as libc::c_int,
        0x87af00 as libc::c_int,
        0x87af5f as libc::c_int,
        0x87af87 as libc::c_int,
        0x87afaf as libc::c_int,
        0x87afd7 as libc::c_int,
        0x87afff as libc::c_int,
        0x87d700 as libc::c_int,
        0x87d75f as libc::c_int,
        0x87d787 as libc::c_int,
        0x87d7af as libc::c_int,
        0x87d7d7 as libc::c_int,
        0x87d7ff as libc::c_int,
        0x87ff00 as libc::c_int,
        0x87ff5f as libc::c_int,
        0x87ff87 as libc::c_int,
        0x87ffaf as libc::c_int,
        0x87ffd7 as libc::c_int,
        0x87ffff as libc::c_int,
        0xaf0000 as libc::c_int,
        0xaf005f as libc::c_int,
        0xaf0087 as libc::c_int,
        0xaf00af as libc::c_int,
        0xaf00d7 as libc::c_int,
        0xaf00ff as libc::c_int,
        0xaf5f00 as libc::c_int,
        0xaf5f5f as libc::c_int,
        0xaf5f87 as libc::c_int,
        0xaf5faf as libc::c_int,
        0xaf5fd7 as libc::c_int,
        0xaf5fff as libc::c_int,
        0xaf8700 as libc::c_int,
        0xaf875f as libc::c_int,
        0xaf8787 as libc::c_int,
        0xaf87af as libc::c_int,
        0xaf87d7 as libc::c_int,
        0xaf87ff as libc::c_int,
        0xafaf00 as libc::c_int,
        0xafaf5f as libc::c_int,
        0xafaf87 as libc::c_int,
        0xafafaf as libc::c_int,
        0xafafd7 as libc::c_int,
        0xafafff as libc::c_int,
        0xafd700 as libc::c_int,
        0xafd75f as libc::c_int,
        0xafd787 as libc::c_int,
        0xafd7af as libc::c_int,
        0xafd7d7 as libc::c_int,
        0xafd7ff as libc::c_int,
        0xafff00 as libc::c_int,
        0xafff5f as libc::c_int,
        0xafff87 as libc::c_int,
        0xafffaf as libc::c_int,
        0xafffd7 as libc::c_int,
        0xafffff as libc::c_int,
        0xd70000 as libc::c_int,
        0xd7005f as libc::c_int,
        0xd70087 as libc::c_int,
        0xd700af as libc::c_int,
        0xd700d7 as libc::c_int,
        0xd700ff as libc::c_int,
        0xd75f00 as libc::c_int,
        0xd75f5f as libc::c_int,
        0xd75f87 as libc::c_int,
        0xd75faf as libc::c_int,
        0xd75fd7 as libc::c_int,
        0xd75fff as libc::c_int,
        0xd78700 as libc::c_int,
        0xd7875f as libc::c_int,
        0xd78787 as libc::c_int,
        0xd787af as libc::c_int,
        0xd787d7 as libc::c_int,
        0xd787ff as libc::c_int,
        0xd7af00 as libc::c_int,
        0xd7af5f as libc::c_int,
        0xd7af87 as libc::c_int,
        0xd7afaf as libc::c_int,
        0xd7afd7 as libc::c_int,
        0xd7afff as libc::c_int,
        0xd7d700 as libc::c_int,
        0xd7d75f as libc::c_int,
        0xd7d787 as libc::c_int,
        0xd7d7af as libc::c_int,
        0xd7d7d7 as libc::c_int,
        0xd7d7ff as libc::c_int,
        0xd7ff00 as libc::c_int,
        0xd7ff5f as libc::c_int,
        0xd7ff87 as libc::c_int,
        0xd7ffaf as libc::c_int,
        0xd7ffd7 as libc::c_int,
        0xd7ffff as libc::c_int,
        0xff0000 as libc::c_int,
        0xff005f as libc::c_int,
        0xff0087 as libc::c_int,
        0xff00af as libc::c_int,
        0xff00d7 as libc::c_int,
        0xff00ff as libc::c_int,
        0xff5f00 as libc::c_int,
        0xff5f5f as libc::c_int,
        0xff5f87 as libc::c_int,
        0xff5faf as libc::c_int,
        0xff5fd7 as libc::c_int,
        0xff5fff as libc::c_int,
        0xff8700 as libc::c_int,
        0xff875f as libc::c_int,
        0xff8787 as libc::c_int,
        0xff87af as libc::c_int,
        0xff87d7 as libc::c_int,
        0xff87ff as libc::c_int,
        0xffaf00 as libc::c_int,
        0xffaf5f as libc::c_int,
        0xffaf87 as libc::c_int,
        0xffafaf as libc::c_int,
        0xffafd7 as libc::c_int,
        0xffafff as libc::c_int,
        0xffd700 as libc::c_int,
        0xffd75f as libc::c_int,
        0xffd787 as libc::c_int,
        0xffd7af as libc::c_int,
        0xffd7d7 as libc::c_int,
        0xffd7ff as libc::c_int,
        0xffff00 as libc::c_int,
        0xffff5f as libc::c_int,
        0xffff87 as libc::c_int,
        0xffffaf as libc::c_int,
        0xffffd7 as libc::c_int,
        0xffffff as libc::c_int,
        0x80808 as libc::c_int,
        0x121212 as libc::c_int,
        0x1c1c1c as libc::c_int,
        0x262626 as libc::c_int,
        0x303030 as libc::c_int,
        0x3a3a3a as libc::c_int,
        0x444444 as libc::c_int,
        0x4e4e4e as libc::c_int,
        0x585858 as libc::c_int,
        0x626262 as libc::c_int,
        0x6c6c6c as libc::c_int,
        0x767676 as libc::c_int,
        0x808080 as libc::c_int,
        0x8a8a8a as libc::c_int,
        0x949494 as libc::c_int,
        0x9e9e9e as libc::c_int,
        0xa8a8a8 as libc::c_int,
        0xb2b2b2 as libc::c_int,
        0xbcbcbc as libc::c_int,
        0xc6c6c6 as libc::c_int,
        0xd0d0d0 as libc::c_int,
        0xdadada as libc::c_int,
        0xe4e4e4 as libc::c_int,
        0xeeeeee as libc::c_int,
    ];
    return table[(c & 0xff as libc::c_int) as usize] | 0x2000000 as libc::c_int;
}
#[no_mangle]
pub unsafe extern "C" fn colour_256to16(mut c: libc::c_int) -> libc::c_int {
    static mut table: [libc::c_char; 256] = [
        0 as libc::c_int as libc::c_char,
        1 as libc::c_int as libc::c_char,
        2 as libc::c_int as libc::c_char,
        3 as libc::c_int as libc::c_char,
        4 as libc::c_int as libc::c_char,
        5 as libc::c_int as libc::c_char,
        6 as libc::c_int as libc::c_char,
        7 as libc::c_int as libc::c_char,
        8 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        11 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        13 as libc::c_int as libc::c_char,
        14 as libc::c_int as libc::c_char,
        15 as libc::c_int as libc::c_char,
        0 as libc::c_int as libc::c_char,
        4 as libc::c_int as libc::c_char,
        4 as libc::c_int as libc::c_char,
        4 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        2 as libc::c_int as libc::c_char,
        6 as libc::c_int as libc::c_char,
        4 as libc::c_int as libc::c_char,
        4 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        2 as libc::c_int as libc::c_char,
        2 as libc::c_int as libc::c_char,
        6 as libc::c_int as libc::c_char,
        4 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        2 as libc::c_int as libc::c_char,
        2 as libc::c_int as libc::c_char,
        2 as libc::c_int as libc::c_char,
        6 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        14 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        14 as libc::c_int as libc::c_char,
        1 as libc::c_int as libc::c_char,
        5 as libc::c_int as libc::c_char,
        4 as libc::c_int as libc::c_char,
        4 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        3 as libc::c_int as libc::c_char,
        8 as libc::c_int as libc::c_char,
        4 as libc::c_int as libc::c_char,
        4 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        2 as libc::c_int as libc::c_char,
        2 as libc::c_int as libc::c_char,
        6 as libc::c_int as libc::c_char,
        4 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        2 as libc::c_int as libc::c_char,
        2 as libc::c_int as libc::c_char,
        2 as libc::c_int as libc::c_char,
        6 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        14 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        14 as libc::c_int as libc::c_char,
        1 as libc::c_int as libc::c_char,
        1 as libc::c_int as libc::c_char,
        5 as libc::c_int as libc::c_char,
        4 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        1 as libc::c_int as libc::c_char,
        1 as libc::c_int as libc::c_char,
        5 as libc::c_int as libc::c_char,
        4 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        3 as libc::c_int as libc::c_char,
        3 as libc::c_int as libc::c_char,
        8 as libc::c_int as libc::c_char,
        4 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        2 as libc::c_int as libc::c_char,
        2 as libc::c_int as libc::c_char,
        2 as libc::c_int as libc::c_char,
        6 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        14 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        14 as libc::c_int as libc::c_char,
        1 as libc::c_int as libc::c_char,
        1 as libc::c_int as libc::c_char,
        1 as libc::c_int as libc::c_char,
        5 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        1 as libc::c_int as libc::c_char,
        1 as libc::c_int as libc::c_char,
        1 as libc::c_int as libc::c_char,
        5 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        1 as libc::c_int as libc::c_char,
        1 as libc::c_int as libc::c_char,
        1 as libc::c_int as libc::c_char,
        5 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        3 as libc::c_int as libc::c_char,
        3 as libc::c_int as libc::c_char,
        3 as libc::c_int as libc::c_char,
        7 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        14 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        14 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        13 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        13 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        13 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        13 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        11 as libc::c_int as libc::c_char,
        11 as libc::c_int as libc::c_char,
        11 as libc::c_int as libc::c_char,
        11 as libc::c_int as libc::c_char,
        7 as libc::c_int as libc::c_char,
        12 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        10 as libc::c_int as libc::c_char,
        14 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        13 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        13 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        13 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        13 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        9 as libc::c_int as libc::c_char,
        13 as libc::c_int as libc::c_char,
        11 as libc::c_int as libc::c_char,
        11 as libc::c_int as libc::c_char,
        11 as libc::c_int as libc::c_char,
        11 as libc::c_int as libc::c_char,
        11 as libc::c_int as libc::c_char,
        15 as libc::c_int as libc::c_char,
        0 as libc::c_int as libc::c_char,
        0 as libc::c_int as libc::c_char,
        0 as libc::c_int as libc::c_char,
        0 as libc::c_int as libc::c_char,
        0 as libc::c_int as libc::c_char,
        0 as libc::c_int as libc::c_char,
        8 as libc::c_int as libc::c_char,
        8 as libc::c_int as libc::c_char,
        8 as libc::c_int as libc::c_char,
        8 as libc::c_int as libc::c_char,
        8 as libc::c_int as libc::c_char,
        8 as libc::c_int as libc::c_char,
        7 as libc::c_int as libc::c_char,
        7 as libc::c_int as libc::c_char,
        7 as libc::c_int as libc::c_char,
        7 as libc::c_int as libc::c_char,
        7 as libc::c_int as libc::c_char,
        7 as libc::c_int as libc::c_char,
        15 as libc::c_int as libc::c_char,
        15 as libc::c_int as libc::c_char,
        15 as libc::c_int as libc::c_char,
        15 as libc::c_int as libc::c_char,
        15 as libc::c_int as libc::c_char,
        15 as libc::c_int as libc::c_char,
    ];
    return table[(c & 0xff as libc::c_int) as usize] as libc::c_int;
}
#[no_mangle]
pub unsafe extern "C" fn colour_byname(mut name: *const libc::c_char) -> libc::c_int {
    static mut colours: [C2RustUnnamed_0; 578] = [
        {
            let mut init = C2RustUnnamed_0 {
                name: b"AliceBlue\0" as *const u8 as *const libc::c_char,
                c: 0xf0f8ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"AntiqueWhite\0" as *const u8 as *const libc::c_char,
                c: 0xfaebd7 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"AntiqueWhite1\0" as *const u8 as *const libc::c_char,
                c: 0xffefdb as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"AntiqueWhite2\0" as *const u8 as *const libc::c_char,
                c: 0xeedfcc as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"AntiqueWhite3\0" as *const u8 as *const libc::c_char,
                c: 0xcdc0b0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"AntiqueWhite4\0" as *const u8 as *const libc::c_char,
                c: 0x8b8378 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"BlanchedAlmond\0" as *const u8 as *const libc::c_char,
                c: 0xffebcd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"BlueViolet\0" as *const u8 as *const libc::c_char,
                c: 0x8a2be2 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"CadetBlue\0" as *const u8 as *const libc::c_char,
                c: 0x5f9ea0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"CadetBlue1\0" as *const u8 as *const libc::c_char,
                c: 0x98f5ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"CadetBlue2\0" as *const u8 as *const libc::c_char,
                c: 0x8ee5ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"CadetBlue3\0" as *const u8 as *const libc::c_char,
                c: 0x7ac5cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"CadetBlue4\0" as *const u8 as *const libc::c_char,
                c: 0x53868b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"CornflowerBlue\0" as *const u8 as *const libc::c_char,
                c: 0x6495ed as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkBlue\0" as *const u8 as *const libc::c_char,
                c: 0x8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkCyan\0" as *const u8 as *const libc::c_char,
                c: 0x8b8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGoldenrod\0" as *const u8 as *const libc::c_char,
                c: 0xb8860b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGoldenrod1\0" as *const u8 as *const libc::c_char,
                c: 0xffb90f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGoldenrod2\0" as *const u8 as *const libc::c_char,
                c: 0xeead0e as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGoldenrod3\0" as *const u8 as *const libc::c_char,
                c: 0xcd950c as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGoldenrod4\0" as *const u8 as *const libc::c_char,
                c: 0x8b6508 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGray\0" as *const u8 as *const libc::c_char,
                c: 0xa9a9a9 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGreen\0" as *const u8 as *const libc::c_char,
                c: 0x6400 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkGrey\0" as *const u8 as *const libc::c_char,
                c: 0xa9a9a9 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkKhaki\0" as *const u8 as *const libc::c_char,
                c: 0xbdb76b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkMagenta\0" as *const u8 as *const libc::c_char,
                c: 0x8b008b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOliveGreen\0" as *const u8 as *const libc::c_char,
                c: 0x556b2f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOliveGreen1\0" as *const u8 as *const libc::c_char,
                c: 0xcaff70 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOliveGreen2\0" as *const u8 as *const libc::c_char,
                c: 0xbcee68 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOliveGreen3\0" as *const u8 as *const libc::c_char,
                c: 0xa2cd5a as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOliveGreen4\0" as *const u8 as *const libc::c_char,
                c: 0x6e8b3d as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrange\0" as *const u8 as *const libc::c_char,
                c: 0xff8c00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrange1\0" as *const u8 as *const libc::c_char,
                c: 0xff7f00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrange2\0" as *const u8 as *const libc::c_char,
                c: 0xee7600 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrange3\0" as *const u8 as *const libc::c_char,
                c: 0xcd6600 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrange4\0" as *const u8 as *const libc::c_char,
                c: 0x8b4500 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrchid\0" as *const u8 as *const libc::c_char,
                c: 0x9932cc as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrchid1\0" as *const u8 as *const libc::c_char,
                c: 0xbf3eff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrchid2\0" as *const u8 as *const libc::c_char,
                c: 0xb23aee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrchid3\0" as *const u8 as *const libc::c_char,
                c: 0x9a32cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkOrchid4\0" as *const u8 as *const libc::c_char,
                c: 0x68228b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkRed\0" as *const u8 as *const libc::c_char,
                c: 0x8b0000 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSalmon\0" as *const u8 as *const libc::c_char,
                c: 0xe9967a as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSeaGreen\0" as *const u8 as *const libc::c_char,
                c: 0x8fbc8f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSeaGreen1\0" as *const u8 as *const libc::c_char,
                c: 0xc1ffc1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSeaGreen2\0" as *const u8 as *const libc::c_char,
                c: 0xb4eeb4 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSeaGreen3\0" as *const u8 as *const libc::c_char,
                c: 0x9bcd9b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSeaGreen4\0" as *const u8 as *const libc::c_char,
                c: 0x698b69 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSlateBlue\0" as *const u8 as *const libc::c_char,
                c: 0x483d8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSlateGray\0" as *const u8 as *const libc::c_char,
                c: 0x2f4f4f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSlateGray1\0" as *const u8 as *const libc::c_char,
                c: 0x97ffff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSlateGray2\0" as *const u8 as *const libc::c_char,
                c: 0x8deeee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSlateGray3\0" as *const u8 as *const libc::c_char,
                c: 0x79cdcd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSlateGray4\0" as *const u8 as *const libc::c_char,
                c: 0x528b8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkSlateGrey\0" as *const u8 as *const libc::c_char,
                c: 0x2f4f4f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkTurquoise\0" as *const u8 as *const libc::c_char,
                c: 0xced1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DarkViolet\0" as *const u8 as *const libc::c_char,
                c: 0x9400d3 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepPink\0" as *const u8 as *const libc::c_char,
                c: 0xff1493 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepPink1\0" as *const u8 as *const libc::c_char,
                c: 0xff1493 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepPink2\0" as *const u8 as *const libc::c_char,
                c: 0xee1289 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepPink3\0" as *const u8 as *const libc::c_char,
                c: 0xcd1076 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepPink4\0" as *const u8 as *const libc::c_char,
                c: 0x8b0a50 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepSkyBlue\0" as *const u8 as *const libc::c_char,
                c: 0xbfff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepSkyBlue1\0" as *const u8 as *const libc::c_char,
                c: 0xbfff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepSkyBlue2\0" as *const u8 as *const libc::c_char,
                c: 0xb2ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepSkyBlue3\0" as *const u8 as *const libc::c_char,
                c: 0x9acd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DeepSkyBlue4\0" as *const u8 as *const libc::c_char,
                c: 0x688b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DimGray\0" as *const u8 as *const libc::c_char,
                c: 0x696969 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DimGrey\0" as *const u8 as *const libc::c_char,
                c: 0x696969 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DodgerBlue\0" as *const u8 as *const libc::c_char,
                c: 0x1e90ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DodgerBlue1\0" as *const u8 as *const libc::c_char,
                c: 0x1e90ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DodgerBlue2\0" as *const u8 as *const libc::c_char,
                c: 0x1c86ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DodgerBlue3\0" as *const u8 as *const libc::c_char,
                c: 0x1874cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"DodgerBlue4\0" as *const u8 as *const libc::c_char,
                c: 0x104e8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"FloralWhite\0" as *const u8 as *const libc::c_char,
                c: 0xfffaf0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"ForestGreen\0" as *const u8 as *const libc::c_char,
                c: 0x228b22 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"GhostWhite\0" as *const u8 as *const libc::c_char,
                c: 0xf8f8ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"GreenYellow\0" as *const u8 as *const libc::c_char,
                c: 0xadff2f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"HotPink\0" as *const u8 as *const libc::c_char,
                c: 0xff69b4 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"HotPink1\0" as *const u8 as *const libc::c_char,
                c: 0xff6eb4 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"HotPink2\0" as *const u8 as *const libc::c_char,
                c: 0xee6aa7 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"HotPink3\0" as *const u8 as *const libc::c_char,
                c: 0xcd6090 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"HotPink4\0" as *const u8 as *const libc::c_char,
                c: 0x8b3a62 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"IndianRed\0" as *const u8 as *const libc::c_char,
                c: 0xcd5c5c as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"IndianRed1\0" as *const u8 as *const libc::c_char,
                c: 0xff6a6a as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"IndianRed2\0" as *const u8 as *const libc::c_char,
                c: 0xee6363 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"IndianRed3\0" as *const u8 as *const libc::c_char,
                c: 0xcd5555 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"IndianRed4\0" as *const u8 as *const libc::c_char,
                c: 0x8b3a3a as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LavenderBlush\0" as *const u8 as *const libc::c_char,
                c: 0xfff0f5 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LavenderBlush1\0" as *const u8 as *const libc::c_char,
                c: 0xfff0f5 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LavenderBlush2\0" as *const u8 as *const libc::c_char,
                c: 0xeee0e5 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LavenderBlush3\0" as *const u8 as *const libc::c_char,
                c: 0xcdc1c5 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LavenderBlush4\0" as *const u8 as *const libc::c_char,
                c: 0x8b8386 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LawnGreen\0" as *const u8 as *const libc::c_char,
                c: 0x7cfc00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LemonChiffon\0" as *const u8 as *const libc::c_char,
                c: 0xfffacd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LemonChiffon1\0" as *const u8 as *const libc::c_char,
                c: 0xfffacd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LemonChiffon2\0" as *const u8 as *const libc::c_char,
                c: 0xeee9bf as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LemonChiffon3\0" as *const u8 as *const libc::c_char,
                c: 0xcdc9a5 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LemonChiffon4\0" as *const u8 as *const libc::c_char,
                c: 0x8b8970 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightBlue\0" as *const u8 as *const libc::c_char,
                c: 0xadd8e6 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightBlue1\0" as *const u8 as *const libc::c_char,
                c: 0xbfefff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightBlue2\0" as *const u8 as *const libc::c_char,
                c: 0xb2dfee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightBlue3\0" as *const u8 as *const libc::c_char,
                c: 0x9ac0cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightBlue4\0" as *const u8 as *const libc::c_char,
                c: 0x68838b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightCoral\0" as *const u8 as *const libc::c_char,
                c: 0xf08080 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightCyan\0" as *const u8 as *const libc::c_char,
                c: 0xe0ffff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightCyan1\0" as *const u8 as *const libc::c_char,
                c: 0xe0ffff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightCyan2\0" as *const u8 as *const libc::c_char,
                c: 0xd1eeee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightCyan3\0" as *const u8 as *const libc::c_char,
                c: 0xb4cdcd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightCyan4\0" as *const u8 as *const libc::c_char,
                c: 0x7a8b8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGoldenrod\0" as *const u8 as *const libc::c_char,
                c: 0xeedd82 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGoldenrod1\0" as *const u8 as *const libc::c_char,
                c: 0xffec8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGoldenrod2\0" as *const u8 as *const libc::c_char,
                c: 0xeedc82 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGoldenrod3\0" as *const u8 as *const libc::c_char,
                c: 0xcdbe70 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGoldenrod4\0" as *const u8 as *const libc::c_char,
                c: 0x8b814c as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGoldenrodYellow\0" as *const u8 as *const libc::c_char,
                c: 0xfafad2 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGray\0" as *const u8 as *const libc::c_char,
                c: 0xd3d3d3 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGreen\0" as *const u8 as *const libc::c_char,
                c: 0x90ee90 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightGrey\0" as *const u8 as *const libc::c_char,
                c: 0xd3d3d3 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightPink\0" as *const u8 as *const libc::c_char,
                c: 0xffb6c1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightPink1\0" as *const u8 as *const libc::c_char,
                c: 0xffaeb9 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightPink2\0" as *const u8 as *const libc::c_char,
                c: 0xeea2ad as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightPink3\0" as *const u8 as *const libc::c_char,
                c: 0xcd8c95 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightPink4\0" as *const u8 as *const libc::c_char,
                c: 0x8b5f65 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSalmon\0" as *const u8 as *const libc::c_char,
                c: 0xffa07a as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSalmon1\0" as *const u8 as *const libc::c_char,
                c: 0xffa07a as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSalmon2\0" as *const u8 as *const libc::c_char,
                c: 0xee9572 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSalmon3\0" as *const u8 as *const libc::c_char,
                c: 0xcd8162 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSalmon4\0" as *const u8 as *const libc::c_char,
                c: 0x8b5742 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSeaGreen\0" as *const u8 as *const libc::c_char,
                c: 0x20b2aa as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSkyBlue\0" as *const u8 as *const libc::c_char,
                c: 0x87cefa as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSkyBlue1\0" as *const u8 as *const libc::c_char,
                c: 0xb0e2ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSkyBlue2\0" as *const u8 as *const libc::c_char,
                c: 0xa4d3ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSkyBlue3\0" as *const u8 as *const libc::c_char,
                c: 0x8db6cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSkyBlue4\0" as *const u8 as *const libc::c_char,
                c: 0x607b8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSlateBlue\0" as *const u8 as *const libc::c_char,
                c: 0x8470ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSlateGray\0" as *const u8 as *const libc::c_char,
                c: 0x778899 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSlateGrey\0" as *const u8 as *const libc::c_char,
                c: 0x778899 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSteelBlue\0" as *const u8 as *const libc::c_char,
                c: 0xb0c4de as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSteelBlue1\0" as *const u8 as *const libc::c_char,
                c: 0xcae1ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSteelBlue2\0" as *const u8 as *const libc::c_char,
                c: 0xbcd2ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSteelBlue3\0" as *const u8 as *const libc::c_char,
                c: 0xa2b5cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightSteelBlue4\0" as *const u8 as *const libc::c_char,
                c: 0x6e7b8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightYellow\0" as *const u8 as *const libc::c_char,
                c: 0xffffe0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightYellow1\0" as *const u8 as *const libc::c_char,
                c: 0xffffe0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightYellow2\0" as *const u8 as *const libc::c_char,
                c: 0xeeeed1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightYellow3\0" as *const u8 as *const libc::c_char,
                c: 0xcdcdb4 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LightYellow4\0" as *const u8 as *const libc::c_char,
                c: 0x8b8b7a as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"LimeGreen\0" as *const u8 as *const libc::c_char,
                c: 0x32cd32 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumAquamarine\0" as *const u8 as *const libc::c_char,
                c: 0x66cdaa as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumBlue\0" as *const u8 as *const libc::c_char,
                c: 0xcd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumOrchid\0" as *const u8 as *const libc::c_char,
                c: 0xba55d3 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumOrchid1\0" as *const u8 as *const libc::c_char,
                c: 0xe066ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumOrchid2\0" as *const u8 as *const libc::c_char,
                c: 0xd15fee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumOrchid3\0" as *const u8 as *const libc::c_char,
                c: 0xb452cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumOrchid4\0" as *const u8 as *const libc::c_char,
                c: 0x7a378b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumPurple\0" as *const u8 as *const libc::c_char,
                c: 0x9370db as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumPurple1\0" as *const u8 as *const libc::c_char,
                c: 0xab82ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumPurple2\0" as *const u8 as *const libc::c_char,
                c: 0x9f79ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumPurple3\0" as *const u8 as *const libc::c_char,
                c: 0x8968cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumPurple4\0" as *const u8 as *const libc::c_char,
                c: 0x5d478b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumSeaGreen\0" as *const u8 as *const libc::c_char,
                c: 0x3cb371 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumSlateBlue\0" as *const u8 as *const libc::c_char,
                c: 0x7b68ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumSpringGreen\0" as *const u8 as *const libc::c_char,
                c: 0xfa9a as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumTurquoise\0" as *const u8 as *const libc::c_char,
                c: 0x48d1cc as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MediumVioletRed\0" as *const u8 as *const libc::c_char,
                c: 0xc71585 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MidnightBlue\0" as *const u8 as *const libc::c_char,
                c: 0x191970 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MintCream\0" as *const u8 as *const libc::c_char,
                c: 0xf5fffa as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MistyRose\0" as *const u8 as *const libc::c_char,
                c: 0xffe4e1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MistyRose1\0" as *const u8 as *const libc::c_char,
                c: 0xffe4e1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MistyRose2\0" as *const u8 as *const libc::c_char,
                c: 0xeed5d2 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MistyRose3\0" as *const u8 as *const libc::c_char,
                c: 0xcdb7b5 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"MistyRose4\0" as *const u8 as *const libc::c_char,
                c: 0x8b7d7b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"NavajoWhite\0" as *const u8 as *const libc::c_char,
                c: 0xffdead as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"NavajoWhite1\0" as *const u8 as *const libc::c_char,
                c: 0xffdead as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"NavajoWhite2\0" as *const u8 as *const libc::c_char,
                c: 0xeecfa1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"NavajoWhite3\0" as *const u8 as *const libc::c_char,
                c: 0xcdb38b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"NavajoWhite4\0" as *const u8 as *const libc::c_char,
                c: 0x8b795e as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"NavyBlue\0" as *const u8 as *const libc::c_char,
                c: 0x80 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OldLace\0" as *const u8 as *const libc::c_char,
                c: 0xfdf5e6 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OliveDrab\0" as *const u8 as *const libc::c_char,
                c: 0x6b8e23 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OliveDrab1\0" as *const u8 as *const libc::c_char,
                c: 0xc0ff3e as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OliveDrab2\0" as *const u8 as *const libc::c_char,
                c: 0xb3ee3a as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OliveDrab3\0" as *const u8 as *const libc::c_char,
                c: 0x9acd32 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OliveDrab4\0" as *const u8 as *const libc::c_char,
                c: 0x698b22 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OrangeRed\0" as *const u8 as *const libc::c_char,
                c: 0xff4500 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OrangeRed1\0" as *const u8 as *const libc::c_char,
                c: 0xff4500 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OrangeRed2\0" as *const u8 as *const libc::c_char,
                c: 0xee4000 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OrangeRed3\0" as *const u8 as *const libc::c_char,
                c: 0xcd3700 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"OrangeRed4\0" as *const u8 as *const libc::c_char,
                c: 0x8b2500 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleGoldenrod\0" as *const u8 as *const libc::c_char,
                c: 0xeee8aa as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleGreen\0" as *const u8 as *const libc::c_char,
                c: 0x98fb98 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleGreen1\0" as *const u8 as *const libc::c_char,
                c: 0x9aff9a as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleGreen2\0" as *const u8 as *const libc::c_char,
                c: 0x90ee90 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleGreen3\0" as *const u8 as *const libc::c_char,
                c: 0x7ccd7c as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleGreen4\0" as *const u8 as *const libc::c_char,
                c: 0x548b54 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleTurquoise\0" as *const u8 as *const libc::c_char,
                c: 0xafeeee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleTurquoise1\0" as *const u8 as *const libc::c_char,
                c: 0xbbffff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleTurquoise2\0" as *const u8 as *const libc::c_char,
                c: 0xaeeeee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleTurquoise3\0" as *const u8 as *const libc::c_char,
                c: 0x96cdcd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleTurquoise4\0" as *const u8 as *const libc::c_char,
                c: 0x668b8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleVioletRed\0" as *const u8 as *const libc::c_char,
                c: 0xdb7093 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleVioletRed1\0" as *const u8 as *const libc::c_char,
                c: 0xff82ab as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleVioletRed2\0" as *const u8 as *const libc::c_char,
                c: 0xee799f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleVioletRed3\0" as *const u8 as *const libc::c_char,
                c: 0xcd6889 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PaleVioletRed4\0" as *const u8 as *const libc::c_char,
                c: 0x8b475d as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PapayaWhip\0" as *const u8 as *const libc::c_char,
                c: 0xffefd5 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PeachPuff\0" as *const u8 as *const libc::c_char,
                c: 0xffdab9 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PeachPuff1\0" as *const u8 as *const libc::c_char,
                c: 0xffdab9 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PeachPuff2\0" as *const u8 as *const libc::c_char,
                c: 0xeecbad as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PeachPuff3\0" as *const u8 as *const libc::c_char,
                c: 0xcdaf95 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PeachPuff4\0" as *const u8 as *const libc::c_char,
                c: 0x8b7765 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"PowderBlue\0" as *const u8 as *const libc::c_char,
                c: 0xb0e0e6 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RebeccaPurple\0" as *const u8 as *const libc::c_char,
                c: 0x663399 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RosyBrown\0" as *const u8 as *const libc::c_char,
                c: 0xbc8f8f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RosyBrown1\0" as *const u8 as *const libc::c_char,
                c: 0xffc1c1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RosyBrown2\0" as *const u8 as *const libc::c_char,
                c: 0xeeb4b4 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RosyBrown3\0" as *const u8 as *const libc::c_char,
                c: 0xcd9b9b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RosyBrown4\0" as *const u8 as *const libc::c_char,
                c: 0x8b6969 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RoyalBlue\0" as *const u8 as *const libc::c_char,
                c: 0x4169e1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RoyalBlue1\0" as *const u8 as *const libc::c_char,
                c: 0x4876ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RoyalBlue2\0" as *const u8 as *const libc::c_char,
                c: 0x436eee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RoyalBlue3\0" as *const u8 as *const libc::c_char,
                c: 0x3a5fcd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"RoyalBlue4\0" as *const u8 as *const libc::c_char,
                c: 0x27408b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SaddleBrown\0" as *const u8 as *const libc::c_char,
                c: 0x8b4513 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SandyBrown\0" as *const u8 as *const libc::c_char,
                c: 0xf4a460 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SeaGreen\0" as *const u8 as *const libc::c_char,
                c: 0x2e8b57 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SeaGreen1\0" as *const u8 as *const libc::c_char,
                c: 0x54ff9f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SeaGreen2\0" as *const u8 as *const libc::c_char,
                c: 0x4eee94 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SeaGreen3\0" as *const u8 as *const libc::c_char,
                c: 0x43cd80 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SeaGreen4\0" as *const u8 as *const libc::c_char,
                c: 0x2e8b57 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SkyBlue\0" as *const u8 as *const libc::c_char,
                c: 0x87ceeb as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SkyBlue1\0" as *const u8 as *const libc::c_char,
                c: 0x87ceff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SkyBlue2\0" as *const u8 as *const libc::c_char,
                c: 0x7ec0ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SkyBlue3\0" as *const u8 as *const libc::c_char,
                c: 0x6ca6cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SkyBlue4\0" as *const u8 as *const libc::c_char,
                c: 0x4a708b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateBlue\0" as *const u8 as *const libc::c_char,
                c: 0x6a5acd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateBlue1\0" as *const u8 as *const libc::c_char,
                c: 0x836fff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateBlue2\0" as *const u8 as *const libc::c_char,
                c: 0x7a67ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateBlue3\0" as *const u8 as *const libc::c_char,
                c: 0x6959cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateBlue4\0" as *const u8 as *const libc::c_char,
                c: 0x473c8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateGray\0" as *const u8 as *const libc::c_char,
                c: 0x708090 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateGray1\0" as *const u8 as *const libc::c_char,
                c: 0xc6e2ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateGray2\0" as *const u8 as *const libc::c_char,
                c: 0xb9d3ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateGray3\0" as *const u8 as *const libc::c_char,
                c: 0x9fb6cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateGray4\0" as *const u8 as *const libc::c_char,
                c: 0x6c7b8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SlateGrey\0" as *const u8 as *const libc::c_char,
                c: 0x708090 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SpringGreen\0" as *const u8 as *const libc::c_char,
                c: 0xff7f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SpringGreen1\0" as *const u8 as *const libc::c_char,
                c: 0xff7f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SpringGreen2\0" as *const u8 as *const libc::c_char,
                c: 0xee76 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SpringGreen3\0" as *const u8 as *const libc::c_char,
                c: 0xcd66 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SpringGreen4\0" as *const u8 as *const libc::c_char,
                c: 0x8b45 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SteelBlue\0" as *const u8 as *const libc::c_char,
                c: 0x4682b4 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SteelBlue1\0" as *const u8 as *const libc::c_char,
                c: 0x63b8ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SteelBlue2\0" as *const u8 as *const libc::c_char,
                c: 0x5cacee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SteelBlue3\0" as *const u8 as *const libc::c_char,
                c: 0x4f94cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"SteelBlue4\0" as *const u8 as *const libc::c_char,
                c: 0x36648b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"VioletRed\0" as *const u8 as *const libc::c_char,
                c: 0xd02090 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"VioletRed1\0" as *const u8 as *const libc::c_char,
                c: 0xff3e96 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"VioletRed2\0" as *const u8 as *const libc::c_char,
                c: 0xee3a8c as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"VioletRed3\0" as *const u8 as *const libc::c_char,
                c: 0xcd3278 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"VioletRed4\0" as *const u8 as *const libc::c_char,
                c: 0x8b2252 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"WebGray\0" as *const u8 as *const libc::c_char,
                c: 0x808080 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"WebGreen\0" as *const u8 as *const libc::c_char,
                c: 0x8000 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"WebGrey\0" as *const u8 as *const libc::c_char,
                c: 0x808080 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"WebMaroon\0" as *const u8 as *const libc::c_char,
                c: 0x800000 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"WebPurple\0" as *const u8 as *const libc::c_char,
                c: 0x800080 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"WhiteSmoke\0" as *const u8 as *const libc::c_char,
                c: 0xf5f5f5 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"X11Gray\0" as *const u8 as *const libc::c_char,
                c: 0xbebebe as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"X11Green\0" as *const u8 as *const libc::c_char,
                c: 0xff00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"X11Grey\0" as *const u8 as *const libc::c_char,
                c: 0xbebebe as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"X11Maroon\0" as *const u8 as *const libc::c_char,
                c: 0xb03060 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"X11Purple\0" as *const u8 as *const libc::c_char,
                c: 0xa020f0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"YellowGreen\0" as *const u8 as *const libc::c_char,
                c: 0x9acd32 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"alice blue\0" as *const u8 as *const libc::c_char,
                c: 0xf0f8ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"antique white\0" as *const u8 as *const libc::c_char,
                c: 0xfaebd7 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"aqua\0" as *const u8 as *const libc::c_char,
                c: 0xffff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"aquamarine\0" as *const u8 as *const libc::c_char,
                c: 0x7fffd4 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"aquamarine1\0" as *const u8 as *const libc::c_char,
                c: 0x7fffd4 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"aquamarine2\0" as *const u8 as *const libc::c_char,
                c: 0x76eec6 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"aquamarine3\0" as *const u8 as *const libc::c_char,
                c: 0x66cdaa as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"aquamarine4\0" as *const u8 as *const libc::c_char,
                c: 0x458b74 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"azure\0" as *const u8 as *const libc::c_char,
                c: 0xf0ffff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"azure1\0" as *const u8 as *const libc::c_char,
                c: 0xf0ffff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"azure2\0" as *const u8 as *const libc::c_char,
                c: 0xe0eeee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"azure3\0" as *const u8 as *const libc::c_char,
                c: 0xc1cdcd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"azure4\0" as *const u8 as *const libc::c_char,
                c: 0x838b8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"beige\0" as *const u8 as *const libc::c_char,
                c: 0xf5f5dc as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"bisque\0" as *const u8 as *const libc::c_char,
                c: 0xffe4c4 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"bisque1\0" as *const u8 as *const libc::c_char,
                c: 0xffe4c4 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"bisque2\0" as *const u8 as *const libc::c_char,
                c: 0xeed5b7 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"bisque3\0" as *const u8 as *const libc::c_char,
                c: 0xcdb79e as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"bisque4\0" as *const u8 as *const libc::c_char,
                c: 0x8b7d6b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"black\0" as *const u8 as *const libc::c_char,
                c: 0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"blanched almond\0" as *const u8 as *const libc::c_char,
                c: 0xffebcd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"blue violet\0" as *const u8 as *const libc::c_char,
                c: 0x8a2be2 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"blue\0" as *const u8 as *const libc::c_char,
                c: 0xff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"blue1\0" as *const u8 as *const libc::c_char,
                c: 0xff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"blue2\0" as *const u8 as *const libc::c_char,
                c: 0xee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"blue3\0" as *const u8 as *const libc::c_char,
                c: 0xcd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"blue4\0" as *const u8 as *const libc::c_char,
                c: 0x8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"brown\0" as *const u8 as *const libc::c_char,
                c: 0xa52a2a as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"brown1\0" as *const u8 as *const libc::c_char,
                c: 0xff4040 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"brown2\0" as *const u8 as *const libc::c_char,
                c: 0xee3b3b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"brown3\0" as *const u8 as *const libc::c_char,
                c: 0xcd3333 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"brown4\0" as *const u8 as *const libc::c_char,
                c: 0x8b2323 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"burlywood\0" as *const u8 as *const libc::c_char,
                c: 0xdeb887 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"burlywood1\0" as *const u8 as *const libc::c_char,
                c: 0xffd39b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"burlywood2\0" as *const u8 as *const libc::c_char,
                c: 0xeec591 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"burlywood3\0" as *const u8 as *const libc::c_char,
                c: 0xcdaa7d as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"burlywood4\0" as *const u8 as *const libc::c_char,
                c: 0x8b7355 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cadet blue\0" as *const u8 as *const libc::c_char,
                c: 0x5f9ea0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chartreuse\0" as *const u8 as *const libc::c_char,
                c: 0x7fff00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chartreuse1\0" as *const u8 as *const libc::c_char,
                c: 0x7fff00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chartreuse2\0" as *const u8 as *const libc::c_char,
                c: 0x76ee00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chartreuse3\0" as *const u8 as *const libc::c_char,
                c: 0x66cd00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chartreuse4\0" as *const u8 as *const libc::c_char,
                c: 0x458b00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chocolate\0" as *const u8 as *const libc::c_char,
                c: 0xd2691e as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chocolate1\0" as *const u8 as *const libc::c_char,
                c: 0xff7f24 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chocolate2\0" as *const u8 as *const libc::c_char,
                c: 0xee7621 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chocolate3\0" as *const u8 as *const libc::c_char,
                c: 0xcd661d as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"chocolate4\0" as *const u8 as *const libc::c_char,
                c: 0x8b4513 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"coral\0" as *const u8 as *const libc::c_char,
                c: 0xff7f50 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"coral1\0" as *const u8 as *const libc::c_char,
                c: 0xff7256 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"coral2\0" as *const u8 as *const libc::c_char,
                c: 0xee6a50 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"coral3\0" as *const u8 as *const libc::c_char,
                c: 0xcd5b45 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"coral4\0" as *const u8 as *const libc::c_char,
                c: 0x8b3e2f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cornflower blue\0" as *const u8 as *const libc::c_char,
                c: 0x6495ed as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cornsilk\0" as *const u8 as *const libc::c_char,
                c: 0xfff8dc as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cornsilk1\0" as *const u8 as *const libc::c_char,
                c: 0xfff8dc as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cornsilk2\0" as *const u8 as *const libc::c_char,
                c: 0xeee8cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cornsilk3\0" as *const u8 as *const libc::c_char,
                c: 0xcdc8b1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cornsilk4\0" as *const u8 as *const libc::c_char,
                c: 0x8b8878 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"crimson\0" as *const u8 as *const libc::c_char,
                c: 0xdc143c as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cyan\0" as *const u8 as *const libc::c_char,
                c: 0xffff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cyan1\0" as *const u8 as *const libc::c_char,
                c: 0xffff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cyan2\0" as *const u8 as *const libc::c_char,
                c: 0xeeee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cyan3\0" as *const u8 as *const libc::c_char,
                c: 0xcdcd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"cyan4\0" as *const u8 as *const libc::c_char,
                c: 0x8b8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark blue\0" as *const u8 as *const libc::c_char,
                c: 0x8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark cyan\0" as *const u8 as *const libc::c_char,
                c: 0x8b8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark goldenrod\0" as *const u8 as *const libc::c_char,
                c: 0xb8860b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark gray\0" as *const u8 as *const libc::c_char,
                c: 0xa9a9a9 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark green\0" as *const u8 as *const libc::c_char,
                c: 0x6400 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark grey\0" as *const u8 as *const libc::c_char,
                c: 0xa9a9a9 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark khaki\0" as *const u8 as *const libc::c_char,
                c: 0xbdb76b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark magenta\0" as *const u8 as *const libc::c_char,
                c: 0x8b008b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark olive green\0" as *const u8 as *const libc::c_char,
                c: 0x556b2f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark orange\0" as *const u8 as *const libc::c_char,
                c: 0xff8c00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark orchid\0" as *const u8 as *const libc::c_char,
                c: 0x9932cc as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark red\0" as *const u8 as *const libc::c_char,
                c: 0x8b0000 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark salmon\0" as *const u8 as *const libc::c_char,
                c: 0xe9967a as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark sea green\0" as *const u8 as *const libc::c_char,
                c: 0x8fbc8f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark slate blue\0" as *const u8 as *const libc::c_char,
                c: 0x483d8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark slate gray\0" as *const u8 as *const libc::c_char,
                c: 0x2f4f4f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark slate grey\0" as *const u8 as *const libc::c_char,
                c: 0x2f4f4f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark turquoise\0" as *const u8 as *const libc::c_char,
                c: 0xced1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dark violet\0" as *const u8 as *const libc::c_char,
                c: 0x9400d3 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"deep pink\0" as *const u8 as *const libc::c_char,
                c: 0xff1493 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"deep sky blue\0" as *const u8 as *const libc::c_char,
                c: 0xbfff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dim gray\0" as *const u8 as *const libc::c_char,
                c: 0x696969 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dim grey\0" as *const u8 as *const libc::c_char,
                c: 0x696969 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"dodger blue\0" as *const u8 as *const libc::c_char,
                c: 0x1e90ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"firebrick\0" as *const u8 as *const libc::c_char,
                c: 0xb22222 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"firebrick1\0" as *const u8 as *const libc::c_char,
                c: 0xff3030 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"firebrick2\0" as *const u8 as *const libc::c_char,
                c: 0xee2c2c as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"firebrick3\0" as *const u8 as *const libc::c_char,
                c: 0xcd2626 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"firebrick4\0" as *const u8 as *const libc::c_char,
                c: 0x8b1a1a as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"floral white\0" as *const u8 as *const libc::c_char,
                c: 0xfffaf0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"forest green\0" as *const u8 as *const libc::c_char,
                c: 0x228b22 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"fuchsia\0" as *const u8 as *const libc::c_char,
                c: 0xff00ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"gainsboro\0" as *const u8 as *const libc::c_char,
                c: 0xdcdcdc as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"ghost white\0" as *const u8 as *const libc::c_char,
                c: 0xf8f8ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"gold\0" as *const u8 as *const libc::c_char,
                c: 0xffd700 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"gold1\0" as *const u8 as *const libc::c_char,
                c: 0xffd700 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"gold2\0" as *const u8 as *const libc::c_char,
                c: 0xeec900 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"gold3\0" as *const u8 as *const libc::c_char,
                c: 0xcdad00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"gold4\0" as *const u8 as *const libc::c_char,
                c: 0x8b7500 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"goldenrod\0" as *const u8 as *const libc::c_char,
                c: 0xdaa520 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"goldenrod1\0" as *const u8 as *const libc::c_char,
                c: 0xffc125 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"goldenrod2\0" as *const u8 as *const libc::c_char,
                c: 0xeeb422 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"goldenrod3\0" as *const u8 as *const libc::c_char,
                c: 0xcd9b1d as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"goldenrod4\0" as *const u8 as *const libc::c_char,
                c: 0x8b6914 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"green yellow\0" as *const u8 as *const libc::c_char,
                c: 0xadff2f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"green\0" as *const u8 as *const libc::c_char,
                c: 0xff00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"green1\0" as *const u8 as *const libc::c_char,
                c: 0xff00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"green2\0" as *const u8 as *const libc::c_char,
                c: 0xee00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"green3\0" as *const u8 as *const libc::c_char,
                c: 0xcd00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"green4\0" as *const u8 as *const libc::c_char,
                c: 0x8b00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"honeydew\0" as *const u8 as *const libc::c_char,
                c: 0xf0fff0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"honeydew1\0" as *const u8 as *const libc::c_char,
                c: 0xf0fff0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"honeydew2\0" as *const u8 as *const libc::c_char,
                c: 0xe0eee0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"honeydew3\0" as *const u8 as *const libc::c_char,
                c: 0xc1cdc1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"honeydew4\0" as *const u8 as *const libc::c_char,
                c: 0x838b83 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"hot pink\0" as *const u8 as *const libc::c_char,
                c: 0xff69b4 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"indian red\0" as *const u8 as *const libc::c_char,
                c: 0xcd5c5c as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"indigo\0" as *const u8 as *const libc::c_char,
                c: 0x4b0082 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"ivory\0" as *const u8 as *const libc::c_char,
                c: 0xfffff0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"ivory1\0" as *const u8 as *const libc::c_char,
                c: 0xfffff0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"ivory2\0" as *const u8 as *const libc::c_char,
                c: 0xeeeee0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"ivory3\0" as *const u8 as *const libc::c_char,
                c: 0xcdcdc1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"ivory4\0" as *const u8 as *const libc::c_char,
                c: 0x8b8b83 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"khaki\0" as *const u8 as *const libc::c_char,
                c: 0xf0e68c as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"khaki1\0" as *const u8 as *const libc::c_char,
                c: 0xfff68f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"khaki2\0" as *const u8 as *const libc::c_char,
                c: 0xeee685 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"khaki3\0" as *const u8 as *const libc::c_char,
                c: 0xcdc673 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"khaki4\0" as *const u8 as *const libc::c_char,
                c: 0x8b864e as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"lavender blush\0" as *const u8 as *const libc::c_char,
                c: 0xfff0f5 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"lavender\0" as *const u8 as *const libc::c_char,
                c: 0xe6e6fa as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"lawn green\0" as *const u8 as *const libc::c_char,
                c: 0x7cfc00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"lemon chiffon\0" as *const u8 as *const libc::c_char,
                c: 0xfffacd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light blue\0" as *const u8 as *const libc::c_char,
                c: 0xadd8e6 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light coral\0" as *const u8 as *const libc::c_char,
                c: 0xf08080 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light cyan\0" as *const u8 as *const libc::c_char,
                c: 0xe0ffff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light goldenrod yellow\0" as *const u8 as *const libc::c_char,
                c: 0xfafad2 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light goldenrod\0" as *const u8 as *const libc::c_char,
                c: 0xeedd82 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light gray\0" as *const u8 as *const libc::c_char,
                c: 0xd3d3d3 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light green\0" as *const u8 as *const libc::c_char,
                c: 0x90ee90 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light grey\0" as *const u8 as *const libc::c_char,
                c: 0xd3d3d3 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light pink\0" as *const u8 as *const libc::c_char,
                c: 0xffb6c1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light salmon\0" as *const u8 as *const libc::c_char,
                c: 0xffa07a as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light sea green\0" as *const u8 as *const libc::c_char,
                c: 0x20b2aa as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light sky blue\0" as *const u8 as *const libc::c_char,
                c: 0x87cefa as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light slate blue\0" as *const u8 as *const libc::c_char,
                c: 0x8470ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light slate gray\0" as *const u8 as *const libc::c_char,
                c: 0x778899 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light slate grey\0" as *const u8 as *const libc::c_char,
                c: 0x778899 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light steel blue\0" as *const u8 as *const libc::c_char,
                c: 0xb0c4de as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"light yellow\0" as *const u8 as *const libc::c_char,
                c: 0xffffe0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"lime green\0" as *const u8 as *const libc::c_char,
                c: 0x32cd32 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"lime\0" as *const u8 as *const libc::c_char,
                c: 0xff00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"linen\0" as *const u8 as *const libc::c_char,
                c: 0xfaf0e6 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"magenta\0" as *const u8 as *const libc::c_char,
                c: 0xff00ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"magenta1\0" as *const u8 as *const libc::c_char,
                c: 0xff00ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"magenta2\0" as *const u8 as *const libc::c_char,
                c: 0xee00ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"magenta3\0" as *const u8 as *const libc::c_char,
                c: 0xcd00cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"magenta4\0" as *const u8 as *const libc::c_char,
                c: 0x8b008b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"maroon\0" as *const u8 as *const libc::c_char,
                c: 0xb03060 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"maroon1\0" as *const u8 as *const libc::c_char,
                c: 0xff34b3 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"maroon2\0" as *const u8 as *const libc::c_char,
                c: 0xee30a7 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"maroon3\0" as *const u8 as *const libc::c_char,
                c: 0xcd2990 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"maroon4\0" as *const u8 as *const libc::c_char,
                c: 0x8b1c62 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium aquamarine\0" as *const u8 as *const libc::c_char,
                c: 0x66cdaa as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium blue\0" as *const u8 as *const libc::c_char,
                c: 0xcd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium orchid\0" as *const u8 as *const libc::c_char,
                c: 0xba55d3 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium purple\0" as *const u8 as *const libc::c_char,
                c: 0x9370db as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium sea green\0" as *const u8 as *const libc::c_char,
                c: 0x3cb371 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium slate blue\0" as *const u8 as *const libc::c_char,
                c: 0x7b68ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium spring green\0" as *const u8 as *const libc::c_char,
                c: 0xfa9a as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium turquoise\0" as *const u8 as *const libc::c_char,
                c: 0x48d1cc as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"medium violet red\0" as *const u8 as *const libc::c_char,
                c: 0xc71585 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"midnight blue\0" as *const u8 as *const libc::c_char,
                c: 0x191970 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"mint cream\0" as *const u8 as *const libc::c_char,
                c: 0xf5fffa as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"misty rose\0" as *const u8 as *const libc::c_char,
                c: 0xffe4e1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"moccasin\0" as *const u8 as *const libc::c_char,
                c: 0xffe4b5 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"navajo white\0" as *const u8 as *const libc::c_char,
                c: 0xffdead as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"navy blue\0" as *const u8 as *const libc::c_char,
                c: 0x80 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"navy\0" as *const u8 as *const libc::c_char,
                c: 0x80 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"old lace\0" as *const u8 as *const libc::c_char,
                c: 0xfdf5e6 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"olive drab\0" as *const u8 as *const libc::c_char,
                c: 0x6b8e23 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"olive\0" as *const u8 as *const libc::c_char,
                c: 0x808000 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orange red\0" as *const u8 as *const libc::c_char,
                c: 0xff4500 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orange\0" as *const u8 as *const libc::c_char,
                c: 0xffa500 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orange1\0" as *const u8 as *const libc::c_char,
                c: 0xffa500 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orange2\0" as *const u8 as *const libc::c_char,
                c: 0xee9a00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orange3\0" as *const u8 as *const libc::c_char,
                c: 0xcd8500 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orange4\0" as *const u8 as *const libc::c_char,
                c: 0x8b5a00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orchid\0" as *const u8 as *const libc::c_char,
                c: 0xda70d6 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orchid1\0" as *const u8 as *const libc::c_char,
                c: 0xff83fa as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orchid2\0" as *const u8 as *const libc::c_char,
                c: 0xee7ae9 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orchid3\0" as *const u8 as *const libc::c_char,
                c: 0xcd69c9 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"orchid4\0" as *const u8 as *const libc::c_char,
                c: 0x8b4789 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pale goldenrod\0" as *const u8 as *const libc::c_char,
                c: 0xeee8aa as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pale green\0" as *const u8 as *const libc::c_char,
                c: 0x98fb98 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pale turquoise\0" as *const u8 as *const libc::c_char,
                c: 0xafeeee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pale violet red\0" as *const u8 as *const libc::c_char,
                c: 0xdb7093 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"papaya whip\0" as *const u8 as *const libc::c_char,
                c: 0xffefd5 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"peach puff\0" as *const u8 as *const libc::c_char,
                c: 0xffdab9 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"peru\0" as *const u8 as *const libc::c_char,
                c: 0xcd853f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pink\0" as *const u8 as *const libc::c_char,
                c: 0xffc0cb as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pink1\0" as *const u8 as *const libc::c_char,
                c: 0xffb5c5 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pink2\0" as *const u8 as *const libc::c_char,
                c: 0xeea9b8 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pink3\0" as *const u8 as *const libc::c_char,
                c: 0xcd919e as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"pink4\0" as *const u8 as *const libc::c_char,
                c: 0x8b636c as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"plum\0" as *const u8 as *const libc::c_char,
                c: 0xdda0dd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"plum1\0" as *const u8 as *const libc::c_char,
                c: 0xffbbff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"plum2\0" as *const u8 as *const libc::c_char,
                c: 0xeeaeee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"plum3\0" as *const u8 as *const libc::c_char,
                c: 0xcd96cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"plum4\0" as *const u8 as *const libc::c_char,
                c: 0x8b668b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"powder blue\0" as *const u8 as *const libc::c_char,
                c: 0xb0e0e6 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"purple\0" as *const u8 as *const libc::c_char,
                c: 0xa020f0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"purple1\0" as *const u8 as *const libc::c_char,
                c: 0x9b30ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"purple2\0" as *const u8 as *const libc::c_char,
                c: 0x912cee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"purple3\0" as *const u8 as *const libc::c_char,
                c: 0x7d26cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"purple4\0" as *const u8 as *const libc::c_char,
                c: 0x551a8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"rebecca purple\0" as *const u8 as *const libc::c_char,
                c: 0x663399 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"red\0" as *const u8 as *const libc::c_char,
                c: 0xff0000 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"red1\0" as *const u8 as *const libc::c_char,
                c: 0xff0000 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"red2\0" as *const u8 as *const libc::c_char,
                c: 0xee0000 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"red3\0" as *const u8 as *const libc::c_char,
                c: 0xcd0000 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"red4\0" as *const u8 as *const libc::c_char,
                c: 0x8b0000 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"rosy brown\0" as *const u8 as *const libc::c_char,
                c: 0xbc8f8f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"royal blue\0" as *const u8 as *const libc::c_char,
                c: 0x4169e1 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"saddle brown\0" as *const u8 as *const libc::c_char,
                c: 0x8b4513 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"salmon\0" as *const u8 as *const libc::c_char,
                c: 0xfa8072 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"salmon1\0" as *const u8 as *const libc::c_char,
                c: 0xff8c69 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"salmon2\0" as *const u8 as *const libc::c_char,
                c: 0xee8262 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"salmon3\0" as *const u8 as *const libc::c_char,
                c: 0xcd7054 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"salmon4\0" as *const u8 as *const libc::c_char,
                c: 0x8b4c39 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sandy brown\0" as *const u8 as *const libc::c_char,
                c: 0xf4a460 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sea green\0" as *const u8 as *const libc::c_char,
                c: 0x2e8b57 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"seashell\0" as *const u8 as *const libc::c_char,
                c: 0xfff5ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"seashell1\0" as *const u8 as *const libc::c_char,
                c: 0xfff5ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"seashell2\0" as *const u8 as *const libc::c_char,
                c: 0xeee5de as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"seashell3\0" as *const u8 as *const libc::c_char,
                c: 0xcdc5bf as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"seashell4\0" as *const u8 as *const libc::c_char,
                c: 0x8b8682 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sienna\0" as *const u8 as *const libc::c_char,
                c: 0xa0522d as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sienna1\0" as *const u8 as *const libc::c_char,
                c: 0xff8247 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sienna2\0" as *const u8 as *const libc::c_char,
                c: 0xee7942 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sienna3\0" as *const u8 as *const libc::c_char,
                c: 0xcd6839 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sienna4\0" as *const u8 as *const libc::c_char,
                c: 0x8b4726 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"silver\0" as *const u8 as *const libc::c_char,
                c: 0xc0c0c0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"sky blue\0" as *const u8 as *const libc::c_char,
                c: 0x87ceeb as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"slate blue\0" as *const u8 as *const libc::c_char,
                c: 0x6a5acd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"slate gray\0" as *const u8 as *const libc::c_char,
                c: 0x708090 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"slate grey\0" as *const u8 as *const libc::c_char,
                c: 0x708090 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"snow\0" as *const u8 as *const libc::c_char,
                c: 0xfffafa as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"snow1\0" as *const u8 as *const libc::c_char,
                c: 0xfffafa as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"snow2\0" as *const u8 as *const libc::c_char,
                c: 0xeee9e9 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"snow3\0" as *const u8 as *const libc::c_char,
                c: 0xcdc9c9 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"snow4\0" as *const u8 as *const libc::c_char,
                c: 0x8b8989 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"spring green\0" as *const u8 as *const libc::c_char,
                c: 0xff7f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"steel blue\0" as *const u8 as *const libc::c_char,
                c: 0x4682b4 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tan\0" as *const u8 as *const libc::c_char,
                c: 0xd2b48c as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tan1\0" as *const u8 as *const libc::c_char,
                c: 0xffa54f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tan2\0" as *const u8 as *const libc::c_char,
                c: 0xee9a49 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tan3\0" as *const u8 as *const libc::c_char,
                c: 0xcd853f as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tan4\0" as *const u8 as *const libc::c_char,
                c: 0x8b5a2b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"teal\0" as *const u8 as *const libc::c_char,
                c: 0x8080 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"thistle\0" as *const u8 as *const libc::c_char,
                c: 0xd8bfd8 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"thistle1\0" as *const u8 as *const libc::c_char,
                c: 0xffe1ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"thistle2\0" as *const u8 as *const libc::c_char,
                c: 0xeed2ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"thistle3\0" as *const u8 as *const libc::c_char,
                c: 0xcdb5cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"thistle4\0" as *const u8 as *const libc::c_char,
                c: 0x8b7b8b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tomato\0" as *const u8 as *const libc::c_char,
                c: 0xff6347 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tomato1\0" as *const u8 as *const libc::c_char,
                c: 0xff6347 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tomato2\0" as *const u8 as *const libc::c_char,
                c: 0xee5c42 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tomato3\0" as *const u8 as *const libc::c_char,
                c: 0xcd4f39 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"tomato4\0" as *const u8 as *const libc::c_char,
                c: 0x8b3626 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"turquoise\0" as *const u8 as *const libc::c_char,
                c: 0x40e0d0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"turquoise1\0" as *const u8 as *const libc::c_char,
                c: 0xf5ff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"turquoise2\0" as *const u8 as *const libc::c_char,
                c: 0xe5ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"turquoise3\0" as *const u8 as *const libc::c_char,
                c: 0xc5cd as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"turquoise4\0" as *const u8 as *const libc::c_char,
                c: 0x868b as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"violet red\0" as *const u8 as *const libc::c_char,
                c: 0xd02090 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"violet\0" as *const u8 as *const libc::c_char,
                c: 0xee82ee as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"web gray\0" as *const u8 as *const libc::c_char,
                c: 0x808080 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"web green\0" as *const u8 as *const libc::c_char,
                c: 0x8000 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"web grey\0" as *const u8 as *const libc::c_char,
                c: 0x808080 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"web maroon\0" as *const u8 as *const libc::c_char,
                c: 0x800000 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"web purple\0" as *const u8 as *const libc::c_char,
                c: 0x800080 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"wheat\0" as *const u8 as *const libc::c_char,
                c: 0xf5deb3 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"wheat1\0" as *const u8 as *const libc::c_char,
                c: 0xffe7ba as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"wheat2\0" as *const u8 as *const libc::c_char,
                c: 0xeed8ae as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"wheat3\0" as *const u8 as *const libc::c_char,
                c: 0xcdba96 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"wheat4\0" as *const u8 as *const libc::c_char,
                c: 0x8b7e66 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"white smoke\0" as *const u8 as *const libc::c_char,
                c: 0xf5f5f5 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"white\0" as *const u8 as *const libc::c_char,
                c: 0xffffff as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"x11 gray\0" as *const u8 as *const libc::c_char,
                c: 0xbebebe as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"x11 green\0" as *const u8 as *const libc::c_char,
                c: 0xff00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"x11 grey\0" as *const u8 as *const libc::c_char,
                c: 0xbebebe as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"x11 maroon\0" as *const u8 as *const libc::c_char,
                c: 0xb03060 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"x11 purple\0" as *const u8 as *const libc::c_char,
                c: 0xa020f0 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"yellow green\0" as *const u8 as *const libc::c_char,
                c: 0x9acd32 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"yellow\0" as *const u8 as *const libc::c_char,
                c: 0xffff00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"yellow1\0" as *const u8 as *const libc::c_char,
                c: 0xffff00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"yellow2\0" as *const u8 as *const libc::c_char,
                c: 0xeeee00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"yellow3\0" as *const u8 as *const libc::c_char,
                c: 0xcdcd00 as libc::c_int,
            };
            init
        },
        {
            let mut init = C2RustUnnamed_0 {
                name: b"yellow4\0" as *const u8 as *const libc::c_char,
                c: 0x8b8b00 as libc::c_int,
            };
            init
        },
    ];
    let mut i: u_int = 0;
    let mut c: libc::c_int = 0;
    let mut errstr: *const libc::c_char = std::ptr::null::<libc::c_char>();
    if strncmp(
        name,
        b"grey\0" as *const u8 as *const libc::c_char,
        4 as libc::c_int as libc::c_ulong,
    ) == 0 as libc::c_int
        || strncmp(
            name,
            b"gray\0" as *const u8 as *const libc::c_char,
            4 as libc::c_int as libc::c_ulong,
        ) == 0 as libc::c_int
    {
        if *name.offset(4 as libc::c_int as isize) as libc::c_int == '\0' as i32 {
            return 0xbebebe as libc::c_int | 0x2000000 as libc::c_int;
        }
        c = strtonum(
            name.offset(4 as libc::c_int as isize),
            0 as libc::c_int as libc::c_longlong,
            100 as libc::c_int as libc::c_longlong,
            &mut errstr,
        ) as libc::c_int;
        if !errstr.is_null() {
            return -(1 as libc::c_int);
        }
        c = round(2.55f64 * c as libc::c_double) as libc::c_int;
        if c < 0 as libc::c_int || c > 255 as libc::c_int {
            return -(1 as libc::c_int);
        }
        return colour_join_rgb(c as u_char, c as u_char, c as u_char);
    }
    i = 0 as libc::c_int as u_int;
    while (i as libc::c_ulong)
        < (::core::mem::size_of::<[C2RustUnnamed_0; 578]>() as libc::c_ulong)
            .wrapping_div(::core::mem::size_of::<C2RustUnnamed_0>() as libc::c_ulong)
    {
        if strcasecmp(colours[i as usize].name, name) == 0 as libc::c_int {
            return colours[i as usize].c | 0x2000000 as libc::c_int;
        }
        i = i.wrapping_add(1);
    }
    return -(1 as libc::c_int);
}
#[no_mangle]
pub unsafe extern "C" fn colour_parseX11(mut p: *const libc::c_char) -> libc::c_int {
    let mut c: libc::c_double = 0.;
    let mut m: libc::c_double = 0.;
    let mut y: libc::c_double = 0.;
    let mut k: libc::c_double = 0 as libc::c_int as libc::c_double;
    let mut r: u_int = 0;
    let mut g: u_int = 0;
    let mut b: u_int = 0;
    let mut len: size_t = strlen(p);
    let mut colour: libc::c_int = -(1 as libc::c_int);
    let mut copy: *mut libc::c_char = std::ptr::null_mut::<libc::c_char>();
    if len == 12 as libc::c_int as libc::c_ulong
        && sscanf(
            p,
            b"rgb:%02x/%02x/%02x\0" as *const u8 as *const libc::c_char,
            &mut r as *mut u_int,
            &mut g as *mut u_int,
            &mut b as *mut u_int,
        ) == 3 as libc::c_int
        || len == 7 as libc::c_int as libc::c_ulong
            && sscanf(
                p,
                b"#%02x%02x%02x\0" as *const u8 as *const libc::c_char,
                &mut r as *mut u_int,
                &mut g as *mut u_int,
                &mut b as *mut u_int,
            ) == 3 as libc::c_int
        || sscanf(
            p,
            b"%d,%d,%d\0" as *const u8 as *const libc::c_char,
            &mut r as *mut u_int,
            &mut g as *mut u_int,
            &mut b as *mut u_int,
        ) == 3 as libc::c_int
    {
        colour = colour_join_rgb(r as u_char, g as u_char, b as u_char);
    } else if len == 18 as libc::c_int as libc::c_ulong
        && sscanf(
            p,
            b"rgb:%04x/%04x/%04x\0" as *const u8 as *const libc::c_char,
            &mut r as *mut u_int,
            &mut g as *mut u_int,
            &mut b as *mut u_int,
        ) == 3 as libc::c_int
        || len == 13 as libc::c_int as libc::c_ulong
            && sscanf(
                p,
                b"#%04x%04x%04x\0" as *const u8 as *const libc::c_char,
                &mut r as *mut u_int,
                &mut g as *mut u_int,
                &mut b as *mut u_int,
            ) == 3 as libc::c_int
    {
        colour = colour_join_rgb(
            (r >> 8 as libc::c_int) as u_char,
            (g >> 8 as libc::c_int) as u_char,
            (b >> 8 as libc::c_int) as u_char,
        );
    } else if (sscanf(
        p,
        b"cmyk:%lf/%lf/%lf/%lf\0" as *const u8 as *const libc::c_char,
        &mut c as *mut libc::c_double,
        &mut m as *mut libc::c_double,
        &mut y as *mut libc::c_double,
        &mut k as *mut libc::c_double,
    ) == 4 as libc::c_int
        || sscanf(
            p,
            b"cmy:%lf/%lf/%lf\0" as *const u8 as *const libc::c_char,
            &mut c as *mut libc::c_double,
            &mut m as *mut libc::c_double,
            &mut y as *mut libc::c_double,
        ) == 3 as libc::c_int)
        && c >= 0 as libc::c_int as libc::c_double
        && c <= 1 as libc::c_int as libc::c_double
        && m >= 0 as libc::c_int as libc::c_double
        && m <= 1 as libc::c_int as libc::c_double
        && y >= 0 as libc::c_int as libc::c_double
        && y <= 1 as libc::c_int as libc::c_double
        && k >= 0 as libc::c_int as libc::c_double
        && k <= 1 as libc::c_int as libc::c_double
    {
        colour = colour_join_rgb(
            ((1 as libc::c_int as libc::c_double - c)
                * (1 as libc::c_int as libc::c_double - k)
                * 255 as libc::c_int as libc::c_double) as u_char,
            ((1 as libc::c_int as libc::c_double - m)
                * (1 as libc::c_int as libc::c_double - k)
                * 255 as libc::c_int as libc::c_double) as u_char,
            ((1 as libc::c_int as libc::c_double - y)
                * (1 as libc::c_int as libc::c_double - k)
                * 255 as libc::c_int as libc::c_double) as u_char,
        );
    } else {
        while len != 0 as libc::c_int as libc::c_ulong && *p as libc::c_int == ' ' as i32 {
            p = p.offset(1);
            len = len.wrapping_sub(1);
        }
        while len != 0 as libc::c_int as libc::c_ulong
            && *p.offset(len.wrapping_sub(1 as libc::c_int as libc::c_ulong) as isize)
                as libc::c_int
                == ' ' as i32
        {
            len = len.wrapping_sub(1);
        }
        copy = xstrndup(p, len);
        colour = colour_byname(copy);
        free(copy as *mut libc::c_void);
    }
    log_debug(
        b"%s: %s = %s\0" as *const u8 as *const libc::c_char,
        (*::core::mem::transmute::<&[u8; 16], &[libc::c_char; 16]>(b"colour_parseX11\0")).as_ptr(),
        p,
        colour_tostring(colour),
    );
    return colour;
}
#[no_mangle]
pub unsafe extern "C" fn colour_palette_init(mut p: *mut colour_palette) {
    (*p).fg = 8 as libc::c_int;
    (*p).bg = 8 as libc::c_int;
    (*p).palette = std::ptr::null_mut::<libc::c_int>();
    (*p).default_palette = std::ptr::null_mut::<libc::c_int>();
}
#[no_mangle]
pub unsafe extern "C" fn colour_palette_clear(mut p: *mut colour_palette) {
    if !p.is_null() {
        (*p).fg = 8 as libc::c_int;
        (*p).bg = 8 as libc::c_int;
        free((*p).palette as *mut libc::c_void);
        (*p).palette = std::ptr::null_mut::<libc::c_int>();
    }
}
#[no_mangle]
pub unsafe extern "C" fn colour_palette_free(mut p: *mut colour_palette) {
    if !p.is_null() {
        free((*p).palette as *mut libc::c_void);
        (*p).palette = std::ptr::null_mut::<libc::c_int>();
        free((*p).default_palette as *mut libc::c_void);
        (*p).default_palette = std::ptr::null_mut::<libc::c_int>();
    }
}
#[no_mangle]
pub unsafe extern "C" fn colour_palette_get(
    mut p: *mut colour_palette,
    mut c: libc::c_int,
) -> libc::c_int {
    if p.is_null() {
        return -(1 as libc::c_int);
    }
    if c >= 90 as libc::c_int && c <= 97 as libc::c_int {
        c = 8 as libc::c_int + c - 90 as libc::c_int;
    } else if c & 0x1000000 as libc::c_int != 0 {
        c &= !(0x1000000 as libc::c_int);
    } else if c >= 8 as libc::c_int {
        return -(1 as libc::c_int);
    }
    if !((*p).palette).is_null() && *((*p).palette).offset(c as isize) != -(1 as libc::c_int) {
        return *((*p).palette).offset(c as isize);
    }
    if !((*p).default_palette).is_null()
        && *((*p).default_palette).offset(c as isize) != -(1 as libc::c_int)
    {
        return *((*p).default_palette).offset(c as isize);
    }
    return -(1 as libc::c_int);
}
#[no_mangle]
pub unsafe extern "C" fn colour_palette_set(
    mut p: *mut colour_palette,
    mut n: libc::c_int,
    mut c: libc::c_int,
) -> libc::c_int {
    let mut i: u_int = 0;
    if p.is_null() || n > 255 as libc::c_int {
        return 0 as libc::c_int;
    }
    if c == -(1 as libc::c_int) && ((*p).palette).is_null() {
        return 0 as libc::c_int;
    }
    if c != -(1 as libc::c_int) && ((*p).palette).is_null() {
        if ((*p).palette).is_null() {
            (*p).palette = xcalloc(
                256 as libc::c_int as size_t,
                ::core::mem::size_of::<libc::c_int>() as libc::c_ulong,
            ) as *mut libc::c_int;
        }
        i = 0 as libc::c_int as u_int;
        while i < 256 as libc::c_int as libc::c_uint {
            *((*p).palette).offset(i as isize) = -(1 as libc::c_int);
            i = i.wrapping_add(1);
        }
    }
    *((*p).palette).offset(n as isize) = c;
    return 1 as libc::c_int;
}
#[no_mangle]
pub unsafe extern "C" fn colour_palette_from_option(
    mut p: *mut colour_palette,
    mut oo: *mut options,
) {
    let mut o: *mut options_entry = std::ptr::null_mut::<options_entry>();
    let mut a: *mut options_array_item = std::ptr::null_mut::<options_array_item>();
    let mut i: u_int = 0;
    let mut n: u_int = 0;
    let mut c: libc::c_int = 0;
    if p.is_null() {
        return;
    }
    o = options_get(oo, b"pane-colours\0" as *const u8 as *const libc::c_char);
    a = options_array_first(o);
    if a.is_null() {
        if !((*p).default_palette).is_null() {
            free((*p).default_palette as *mut libc::c_void);
            (*p).default_palette = std::ptr::null_mut::<libc::c_int>();
        }
        return;
    }
    if ((*p).default_palette).is_null() {
        (*p).default_palette = xcalloc(
            256 as libc::c_int as size_t,
            ::core::mem::size_of::<libc::c_int>() as libc::c_ulong,
        ) as *mut libc::c_int;
    }
    i = 0 as libc::c_int as u_int;
    while i < 256 as libc::c_int as libc::c_uint {
        *((*p).default_palette).offset(i as isize) = -(1 as libc::c_int);
        i = i.wrapping_add(1);
    }
    while !a.is_null() {
        n = options_array_item_index(a);
        if n < 256 as libc::c_int as libc::c_uint {
            c = (*options_array_item_value(a)).number as libc::c_int;
            *((*p).default_palette).offset(n as isize) = c;
        }
        a = options_array_next(a);
    }
}
